(function(){'use strict';var h=h||{};h.scope={};h.U=function(a){var b=0;return function(){return bc&&(c=Math.max(c+g,0));cDate.now()?c.value:!1}catch(d){return!1}} function K(a,b,c){c={value:c,expiresAt:Date.now()+1E3*a.config.ma};try{a.window.localStorage.setItem(b,JSON.stringify(c))}catch(d){}}ma.prototype.wait=function(a){return G(this,void 0,void 0,function c(){return h.c.f(c,function(d){return d.return(new Promise(function(g){return setTimeout(g,a)}))})})};var L=this&&this.a||function(a,b,c,d){function g(e){return e instanceof c?e:new c(function(f){f(e)})}return new (c||(c=Promise))(function(e,f){function k(m){try{n(d.next(m))}catch(p){f(p)}}function l(m){try{n(d["throw"](m))}catch(p){f(p)}}function n(m){m.done?e(m.value):g(m.value).then(k,l)}n((d=d.apply(a,b||[])).next())})};function ta(){this.window=D().get();this.w=na();this.aa=13;this.N=ia().N} function ua(a){return L(a,void 0,void 0,function c(){var d=this,g;return h.c.f(c,function(e){if(1==e.a)return va(d)?w(e,wa(d),2):e.return("");g=e.b;return e.return((null===g||void 0===g?void 0:g.tcString)||"")})})}function xa(a){return L(a,void 0,void 0,function c(){var d=this,g;return h.c.f(c,function(e){if(1==e.a)return e.h=2,w(e,ya(d),4);if(2!=e.a)return g=e.b,"gdpr"===g?e.return(za(d)):"usp"===g?e.return(Aa(d)):e.return(!0);y(e);return e.return(!1)})})} function ya(a){return L(a,void 0,void 0,function c(){var d=this,g;return h.c.f(c,function(e){switch(e.a){case 1:return w(e,I(d.w),2);case 2:g=e.b;if(!g)throw Error("Location not found");if("US"!==g){e.a=3;break}return w(e,Ba(d),4);case 4:return e.b?e.return("usp"):e.return(null);case 3:return w(e,Ca(d),5);case 5:return e.b?e.return("gdpr"):e.return(null)}})})} function Ca(a){return L(a,void 0,void 0,function c(){var d=this;return h.c.f(c,function(g){if(1==g.a)return g.h=2,w(g,oa(d.w),4);if(2!=g.a)return g.return(g.b);y(g);return g.return(!0)})})}function Ba(a){return L(a,void 0,void 0,function c(){var d=this;return h.c.f(c,function(g){if(1==g.a)return g.h=2,w(g,ra(d.w),4);if(2!=g.a)return g.return(g.b);y(g);return g.return(!0)})})} function za(a){return L(a,void 0,void 0,function c(){var d=this;return h.c.f(c,function(g){return va(d)?g.return(Da(d)):g.return(!1)})})}function Da(a){return L(a,void 0,void 0,function c(){var d=this,g,e,f;return h.c.f(c,function(k){if(1==k.a)return w(k,wa(d),2);g=k.b;if(!g)return k.return(!1);e=g.vendor.consents;a:{var l=g.purpose;for(var n in l)if(!1===l[n]){l=!1;break a}l=!0}f=l;return k.return(!!e[d.aa]&&!Ea(g)&&f)})})} function Ea(a){a=a.publisher.restrictions;for(var b in a)if(0===a[b][13])return!0;return!1}function Aa(a){return L(a,void 0,void 0,function c(){var d=this,g;return h.c.f(c,function(e){return(g=d.window.__uspapi)&&"function"===typeof g?e.return(new Promise(function(f){g("getUSPData",1,function(k,l){if(!k||!l)return f(!1);if(-1<["1YN-","1YNN","1YNY"].indexOf(k.uspString))return f(!0);f(!1)})})):e.return(!1)})})}function va(a){a=a.window.__tcfapi;return!!a&&"function"===typeof a} function wa(a){return L(a,void 0,void 0,function c(){var d=this,g,e;return h.c.f(c,function(f){g=d;e=d.window.__tcfapi;return f.return(new Promise(function(k){e("addEventListener",2,function(l,n){if(!n||!l)return k(null);if("tcloaded"===l.eventStatus||"useractioncomplete"===l.eventStatus)return e("removeEventListener",2,function(){},l.listenerId),k(l);setTimeout(function(){return k(l)},g.N)},[g.aa])}))})})};function Fa(){this.window=window}var M,N;function Ga(){N||(N=new Fa);return N}Fa.prototype.get=function(){var a,b=this.window.__connect;b=Object.assign(b&&b.beacon?b.beacon:{},Ha());return{affiliateId:b.affiliateId||0,disablePIITracking:!!b.disablePIITracking,V:(null===(a=M)||void 0===a?void 0:a.src)||""}};function Ha(){if(!M)return{};var a=M.src,b=a.indexOf("?"),c={};if(-1===b)return{};a=h.s(a.slice(b+1).split("&"));for(b=a.next();!b.done;b=a.next())b=b.value.split("="),c[b[0]]=b[1];return c};var Ia=this&&this.a||function(a,b,c,d){function g(e){return e instanceof c?e:new c(function(f){f(e)})}return new (c||(c=Promise))(function(e,f){function k(m){try{n(d.next(m))}catch(p){f(p)}}function l(m){try{n(d["throw"](m))}catch(p){f(p)}}function n(m){m.done?e(m.value):g(m.value).then(k,l)}n((d=d.apply(a,b||[])).next())})};function Ja(){this.window=D().get();this.A=null} Ja.prototype.get=function(){return Ia(this,void 0,void 0,function b(){var c=this,d,g;return h.c.f(b,function(e){switch(e.a){case 1:if(null!==c.A)return e.return(c.A);e.h=2;return w(e,c.window.fetch("https://ap.lijit.com/readerinfo/v2",{credentials:"include"}),4);case 4:return d=e.b,w(e,d.json(),5);case 5:g=e.b;c.A=g.ljt_reader||"";e.a=3;e.h=0;break;case 2:y(e),c.A="";case 3:return e.return(c.A)}})})};var Ka=function(){function a(){}a.qa=function(){var b=D().get();b=b[a.a]=b[a.a]||{};b.pageViewId||(b.pageViewId=a.b());return b.pageViewId};a.b=function(){return+new Date+Math.floor(1E3*Math.random())};a.a="__connect";return a}();var La=this&&this.a||function(a,b,c,d){function g(e){return e instanceof c?e:new c(function(f){f(e)})}return new (c||(c=Promise))(function(e,f){function k(m){try{n(d.next(m))}catch(p){f(p)}}function l(m){try{n(d["throw"](m))}catch(p){f(p)}}function n(m){m.done?e(m.value):g(m.value).then(k,l)}n((d=d.apply(a,b||[])).next())})}; function O(){this.W=new ta;this.ua=new Ja;this.a=Ga();this.w=na();this.window=D().get();var a=this.a.get(),b=a.affiliateId;this.disablePIITracking=a.disablePIITracking;this.metadata={pageViewId:Ka.qa(),affiliateId:b,domain:this.window.location.hostname,path:this.window.location.pathname,isCollectable:this.isCollectable(),consentString:"",location:"",ljtReader:"",query:this.window.location.search.slice(0,100)};Ma(this)}O.prototype.get=function(){return this.metadata}; function Ma(a){La(a,void 0,void 0,function c(){var d=this,g;return h.c.f(c,function(e){g=d;ua(d.W).then(function(f){g.metadata.consentString=f});d.disablePIITracking||Na(d).then(function(f){g.metadata.ljtReader=f});I(d.w).then(function(f){g.metadata.location=f});e.a=0})})} function Na(a){return La(a,void 0,void 0,function c(){var d=this,g,e,f,k,l,n,m,p;return h.c.f(c,function(q){if(1==q.a)return g=oa(d.w),e=xa(d.W),f=h,k=f.s,w(q,g,2);if(3!=q.a)return l=q.b,w(q,e,3);n=k.call(f,[l,q.b]);m=n.next().value;p=n.next().value;return!m||p?q.return(d.ua.get()):q.return("")})})}O.prototype.isCollectable=function(){return"FRIENDLY"===this.window.__connect.state};function Oa(){this.l=!0};function P(a){this.l=!0;this.window=a;this.window.addEventListener("focus",this.b.bind(this));this.window.addEventListener("focusin",this.b.bind(this));this.window.addEventListener("blur",this.a.bind(this));this.window.addEventListener("focusout",this.a.bind(this))}h.J(P,Oa);P.prototype.b=function(){this.l=!0};P.prototype.a=function(){this.window.document.hasFocus()?this.l=!0:this.l=!1};function Q(a,b){this.l=!0;this.window=a;this.g=void 0===b?10:b;this.i="mousemove mousedown scroll keyup keypress keydown touchstart touchmove touchend".split(" ");a=h.s(this.i);for(b=a.next();!b.done;b=a.next())this.window.addEventListener(b.value,this.a.bind(this));this.a()}h.J(Q,Oa);Q.prototype.a=function(){var a=this;this.b||(this.b=this.window.setTimeout(function(){clearTimeout(a.j);a.j=a.window.setTimeout(a.h.bind(a),1E3*a.g);a.b=null},50),this.l=!0)};Q.prototype.h=function(){this.l=!1};function Pa(a,b){this.a=a;this.b=b}var R;function S(){if(!R){var a=D().get(),b=new P(a);a=new Q(a);R=new Pa(b,a)}return R}Pa.prototype.l=function(){return this.a.l&&this.b.l};function Qa(){this.window=D().get();this.a={scrollDepth:0,dwellTime:0,engagedDwellTime:0,documentHeight:Ra(this),type:"page"}}function Ra(a){var b=a.window.document.body;a=a.window.document.documentElement;return b?Math.max(b.scrollHeight,b.offsetHeight,a.clientHeight,a.scrollHeight,a.offsetHeight):0};function Sa(){}Sa.prototype.create=function(){return new XMLHttpRequest};function Ta(){this.a=new Sa}Ta.prototype.send=function(a,b,c){var d=this.a.create();d.open("POST",a,c);d.setRequestHeader("Content-Type","text/plain");d.send(JSON.stringify(b))};function Ua(){this.a=new Ta;this.window=D().get()}Ua.prototype.send=function(a,b){b=void 0===b?!1:b;var c=this.window.navigator,d=!1;c.sendBeacon&&(d=c.sendBeacon("https://signal-metrics-collector-beta.s-onetag.com/metrics",JSON.stringify(a)));d||this.a.send("https://signal-metrics-collector-beta.s-onetag.com/metrics",a,b)};function Va(){this.window=D().get()};D().get();var T=this&&this.a||function(a,b,c,d){function g(e){return e instanceof c?e:new c(function(f){f(e)})}return new (c||(c=Promise))(function(e,f){function k(m){try{n(d.next(m))}catch(p){f(p)}}function l(m){try{n(d["throw"](m))}catch(p){f(p)}}function n(m){m.done?e(m.value):g(m.value).then(k,l)}n((d=d.apply(a,b||[])).next())})};function U(){this.m={};this.L=[];this.a={};this.P={};this.window=D().get();this.h=new Va;this.b=S();Wa(this)} function V(a,b,c){return T(a,void 0,void 0,function g(){var e=this,f,k,l;return h.c.f(g,function(n){if(1==n.a){e.P[b]=c.ba;f=Xa(e,b);var m=f?(m=Ya(f,"IFRAME")||Ya(f,"IMG"))?m.getBoundingClientRect():null:null;(k=m)?(n.a=2,n=void 0):n=w(n,e.wait(1E3),3);return n}if(2!=n.a)return V(e,b,c),n.return();if(50>k.width||50>k.height)return n.return();var p=e.m[b];p&&e.L.push(p);l={impressionId:Number(new Date)+Math.floor(1E5*Math.random()),zoneId:c.zoneId||null,transactionId:c.transactionId||null,secondsInView:0, gamAdUnitPath:c.gamAdUnitPath||null,clicks:0,viewableEngagedSeconds:0,isReload:!1,isSovrnReload:c.$,isAboveTheFold:e.isAboveTheFold(k),adSize:Math.floor(k.width)+"x"+Math.floor(k.height),adElementId:b,type:"impression"};a:{p=l;try{var q=e.window.document.querySelector(b).parentNode.parentNode.id}catch(B){q=null}if(b.includes("google_ads_iframe_")&&q){q="#"+q;var u=e.m[q];if(u){var x={};for(m in u)x[m]=u[m]||p[m];e.m[q]=x;break a}}e.m[b]=p}n.a=0})})} U.prototype.g=function(a,b,c,d){return T(this,void 0,void 0,function e(){var f=this;return h.c.f(e,function(k){return k.return(V(f,a,{zoneId:b,gamAdUnitPath:d,transactionId:c,$:!1,ba:!0}))})})};function Xa(a,b){if(a.a[b])return a.a[b];var c=a.window.document.querySelector(b);return a.a[b]=c}function Za(a){var b=Object.values(a.m);return[].concat(h.B(b),h.B(a.L))}function $a(a){Object.keys(a.m).forEach(function(b){a.m[b].secondsInView=0;a.m[b].viewableEngagedSeconds=0;a.m[b].clicks=0});a.L=[]} function ab(a){Object.keys(a.m).forEach(function(b){var c=Xa(a,b),d=a.m[b];if(b=!0===a.P[b]){b=a.h;var g=void 0===g?.5:g;if(b.window.__connect&&"SAFEFRAME"===b.window.__connect.state)b=b.window.S.ext.Ka()/100>=g;else{c=c.getBoundingClientRect();var e=b.window.innerWidth;b=b.window.innerHeight;b=(Math.max(0,Math.min(c.right,e))-Math.max(0,Math.min(c.left,e)))*(Math.max(0,Math.min(c.bottom,b))-Math.max(0,Math.min(c.top,b)))/(c.width*c.height)>=g}}(g=b)&&d.secondsInView++;g&&a.b.l()&&d.viewableEngagedSeconds++})} function Wa(a){a.window.addEventListener("blur",function(){var b="#"+a.window.document.activeElement.parentNode.parentNode.id;b in a.m&&a.m[b].clicks++})}U.prototype.isAboveTheFold=function(a){return 0<=this.window.innerHeight-(a.height/2+a.top)};function Ya(a,b){var c=[].concat(h.B(a.getElementsByTagName(b)));a.nodeName===b&&c.push(a);for(a=0;aDate.now()-1E4||(a.b[d]=Date.now(),V(a.a,"#"+d,{gamAdUnitPath:e,$:a.isSovrnReload(b),ba:c}))}X.prototype.isSovrnReload=function(a){return-1